﻿<head>
<script language="javascript" src="Template.js"></script>
</head>
<body>
	<script id="template0" type="text/html">
		<b>name:</b>#{title}<br/><b>key:</b>#{key}<br/>
	</script>
	<script id="template3" type="text/html">
		${"template0", url}
	</script>
	<script id="template1" type="text/html">
	${"template3", "url.json"}
	{foreach(var item in items)}
		<ul>
			${"template2", item}
			${"template1", item}
		</ul>
	{/foreach}
	</script>
	<script id="template2" type="text/html">
		<li>地区：<a href="#{url}" target="_blank"><b>#{name}</b></a></li>
	</script>
	<script id="read1" type="text/html" reader="true">
		${"template1", "addr.json"}
	</script>
</body>